package com.lmk.homework;

import java.util.Scanner;
/**
 *根据输入成绩 判断成绩效果
 */



public class work02 {
    public static void main(String[] args) {
        String[] a=new String[]{"A等","B等","C等","D等","E等"};
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入您的成绩");
        double c=sc.nextInt();
        if (c>90&&c<100){
            System.out.println(a[0]);
        }else if (c>80&&c<90){
            System.out.println(a[1]);
        }else if (c>70&&c<80){
            System.out.println(a[2]);
        }else if (c>60&&c<70){
            System.out.println(a[3]);
        }else if (c>0&&c<60){
            System.out.println(a[4]);
        }
    }
}
